<template>
  <div>
    <el-row>
      <el-col :span="24">
        <div class="grid-content bg-purple-dark">
          <el-table
              :data="tableData"
              highlight-current-row
              @current-change="handleCurrentChange"
              style="width: 100%">
            <el-table-column
                prop="cname"
                label="电影名"
                align="center">
            </el-table-column>
            <el-table-column
                prop="cmoney"
                label="价格"
                align="center">
            </el-table-column>
            <el-table-column
                prop="date"
                label="时间"
                align="center">
            </el-table-column>
          </el-table>
        </div>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: "showRadis",
  data(){
    return{
      tableData:''
    }
  },
  mounted() {
    this.init()
  },
  methods:{
    handleCurrentChange(){

    },
    init(){
      this.$axios.get("meituan/meituan/findByRadisOrderAll").then(
          r=>{
            console.log(r.data)
            this.tableData=r.data
          }
      );
    }
  }
}
</script>

<style scoped>

</style>